﻿@model IQueryable<Model.orders>
<link href="~/Content/css/ConfirmReceive.css" rel="stylesheet" />
<link href="~/Content/css/MyOrders.css" rel="stylesheet" />
<ul class="order-title order-b">
    <li>商品名称</li>
    <li>商品价格</li>
    <li>购买数量</li>
    <li>总价</li>
    <li>操作</li>
</ul>
@if (Model != null)
{
    foreach (var item in Model)
    {
        foreach (var item1 in item.orderDetail.Where(o=>o.nowState == 0))
        {
            <div class="orderitem">
                <ul class="order-b">
                    <li>@item1.goods.goodName</li>
                    <li>@item1.goodPrice</li>
                    <li>@item1.goodNum</li>
                    <li>@item1.sumPrice</li>
                    <li><a class="ac" href="@Url.Action("SendView","Store",new{ id = item1.ID, goodId = item1.goodId })">去评价</a></li>
                </ul>
            </div>
        }

    }
}
